<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>干细胞治疗网管理系统——登录</title>
		<link href="gko100/back/css/login.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript">
	        function changePic(){
	            document.getElementById("picValidate").src = "pic_validate.jsp?time=" + Math.random();
	        }
    	</script>
	</head>

	<body>
		
		<div>
			
			<s:form action="login.action" method="post" theme="simple">
				<div>
					<s:textfield name="admin.name" cssClass="user_name"></s:textfield>
				</div>	
				<div>
					<s:password name="admin.password" cssClass="user_pass" />
				</div>
				<div>
					<div>
						<s:textfield name="picValidate" cssClass="user_yz"></s:textfield>
					</div>
					<img id="picValidate" onclick="changePic()" alt="点击刷新" title="点击刷新" src="gko100/back/pic_validate.jsp" Class="yz_img"/>
				</div>
				<div>
					<s:submit value="登录" cssClass="ok"></s:submit>
				</div>
			</s:form>
			<div class="yz_name">
				<s:fielderror cssStyle="color: red">
					<s:param>admin.name</s:param>
				</s:fielderror>
			</div>
			<div class="yz_pass">
				<s:fielderror cssStyle="color: red">
					<s:param>admin.password</s:param>
				</s:fielderror>
			</div>
			<div class="yz_imgs">
				<s:fielderror cssStyle="color: red">
					<s:param>picValidate</s:param>
				</s:fielderror>
			</div>
		</div>
	</body>
	
</html>

